package com.zhongkun.service;

import com.zhongkun.pojo.Comment;
import com.zhongkun.pojo.Picture;
import com.zhongkun.pojo.User;
import com.zhongkun.pojo.UserShare;

import java.util.List;

public interface FileMapperService {

    //获取用户头像
    public Picture getProfile(User user);

    //获取图库
    public List<Picture> getAllPicture();

    //获取所有动态 时间倒序
    public List<UserShare> getAllShareByTime();

    //获取所有动态 热度倒序
    public List<UserShare> getAllShareByHot();

    //获取所有评论
    public  List<Comment> getAllShareCommentByTime();

}
